(lang dune 3.0)

; https://dune.readthedocs.io/en/latest/opam.html#generating-opam-files

(name seppo)

(version 0.5)

(subst disabled)

(implicit_transitive_deps true)

(generate_opam_files true)

(formatting
 (enabled_for dune))

(license GPL-3.0-only)

(maintainers "Marcus Rohrmoser <work@mro.name>")

(authors "The #Seppo programmers")

(source
 (uri git+ssh://codeberg.org/seppo/seppo.git))

(homepage Seppo.mro.name)

(bug_reports Seppo.mro.name/issues)

(package
 (name seppo)
 (synopsis "Personal Social Web")
 (description
  "#Seppo empowers you to publish short texts and images and to network in the\nSocial Web.\n\nBy renting commodity webspace and putting a single file in place. Without being\nsubject to terms and conditions. And without having to fret about small print\nor tech lore, but have a life.")
 (tags
  (Social
   Web
   Fediverse
   ActivityPub
   CGI
   RFC3875
   RFC4287
   RFC4685
   RFC5005
   RFC7033
   RFC7565
   RFC8890
   RFC9116
   XSLT))
 (depends
  as2_vocab
  camlp-streams
  cohttp-lwt-unix
  crunch
  decoders-ezjsonm
  lambdasoup
  lwt_ppx
  mcdb
  (mirage-crypto-rng
   (>= 2.0))
  (optint
   (>= 0.3.0))
  safepass
  sqlite3
  (timedesc
   (>= 3.0))
  tls-lwt
  tyre
  uucp
  uuidm
  uunf
  uutf
  x509
  xmlm
  (alcotest :with-test)
  (cstruct-unix :with-test)
  (decoders-ezxmlm :with-test)
  (markup :with-test)
  ocaml
  ;  (ocaml-lsp-server (= 1.7.0) :with-doc) https://github.com/ocaml/ocaml-lsp/issues/1069#issuecomment-2376511874
  ;  (ocp-indent :with-doc)
  (odig :with-doc)
  (odoc :with-doc)
  (sherlodoc :with-doc)
  (sexplib :with-test)
  (utop :with-test)
  (yojson :with-test)
  dune
  lwt_ppx))

(package
 (name apchk)
 (synopsis "Webfinger & ActivityPub checker")
 (description "checker cgi to self-host without a hassle.")
 (tags
  (Social Web "#Fediverse" ActivityPub RFC7033 RFC3875 Checker))
 (authors "The #Seppo programmers")
 (depends
  dune
  (crunch :with-doc)
  (ocp-indent :with-doc)))

(package
 (name as2_vocab)
 (synopsis "ActityStreams 2.0 Vocabulary")
 (description "...")
 (tags
  (Social Web "#Fediverse" ActivityStreams))
 (authors "The #Seppo programmers")
 (depends
  dune
  (ocp-indent :with-doc)))

(package
 (name mcdb)
 (version 0.1)
 (synopsis "cdb")
 (description "...")
 (tags
  (cdb constant database file))
 (authors "The mcdb programmers")
 (depends
  camlp-streams
  dune
  (optint
   (>= 0.3.0))
  (alcotest :with-test)
  (ocp-indent :with-doc)))

; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project
